package com.ruoyi.business.mapper;

import java.util.List;
import com.ruoyi.business.domain.BusContractCollection;

/**
 * 合同回款Mapper接口
 * 
 * @author ruoyi
 * @date 2021-09-02
 */
public interface BusContractCollectionMapper 
{
    /**
     * 查询合同回款
     * 
     * @param collectionId 合同回款主键
     * @return 合同回款
     */
    public BusContractCollection selectBusContractCollectionByCollectionId(Long collectionId);

    /**
     * 查询合同回款列表
     * 
     * @param busContractCollection 合同回款
     * @return 合同回款集合
     */
    public List<BusContractCollection> selectBusContractCollectionList(BusContractCollection busContractCollection);

    /**
     * 新增合同回款
     * 
     * @param busContractCollection 合同回款
     * @return 结果
     */
    public int insertBusContractCollection(BusContractCollection busContractCollection);

    /**
     * 修改合同回款
     * 
     * @param busContractCollection 合同回款
     * @return 结果
     */
    public int updateBusContractCollection(BusContractCollection busContractCollection);

    /**
     * 删除合同回款
     * 
     * @param collectionId 合同回款主键
     * @return 结果
     */
    public int deleteBusContractCollectionByCollectionId(Long collectionId);

    /**
     * 批量删除合同回款
     * 
     * @param collectionIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusContractCollectionByCollectionIds(Long[] collectionIds);
}
